package com.oj.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "题目信息")
public class Problem implements Serializable {

    @ApiModelProperty(value = "序列化版本ID")
    private static  final  long serialVersionUID = 1L;

    @ApiModelProperty(value = "题目ID")
    private  Integer id;

    @ApiModelProperty(value = "题目标题")
    private  String title;

    @ApiModelProperty(value = "题目等级")
    private  String level;

    @ApiModelProperty(value = "题目描述")
    private  String description;

    @ApiModelProperty(value = "样例代码")
    private  String templateCode;

    @ApiModelProperty(value = "测试代码")
    private  String testCode;

}
